/*
 * EnterpriseEvents.java
 *
 * This file is part of Netuno Proteu.
 *
 * CajuScript is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3, or (at your option)
 * any later version.
 *
 * CajuScript is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with CajuScript.  If not, see <http://www.gnu.org/licenses/>.
*/

package org.netuno.proteu;

/**
 * To be used with Enterprise to interaction in some points.
 * @author eduveks
 */
public interface EnterpriseEvents {
    /**
     * When servlet Enterprise is starting.
     * @param proteu Proteu
     */
    public void onStarting(Proteu proteu);
    /**
     * When servlet Enterprise is started.
     * @param proteu Proteu
     */
    public void onStarted(Proteu proteu);
    /**
     * When servlet Enterprise is ending.
     * @param proteu Proteu
     */
    public void onEnding(Proteu proteu);
    /**
     * When servlet Enterprise is ended.
     * @param proteu Proteu
     */
    public void onEnded(Proteu proteu);
}
